package com.ruoyi.function.constant;

import org.apache.xmlbeans.impl.xb.xsdschema.Public;
import org.springframework.security.core.parameters.P;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public interface BusinessConstants {


    interface dict  {
        //审核状态 audit_status 1 待审核 2 审核通过 3 审核不通过
        public static final Integer audit_status_1 = 1;
        public static final Integer audit_status_2 = 2;
        public static final Integer audit_status_3 = 3;

        // 用户类型 user_type 1 用户 2 技术人员 3 商家
        public static final Integer user_type_1 = 1;
        public static final Integer user_type_2 = 2;
        public static final Integer user_type_3 = 3;

       //订单状态（0=：待付款,1=：待接单,2=：已接单, 3:商家已完成  4=：已取消,5.已完成 6：已退款）  order_status
        public static final String order_status_0 = "0";
        public static final String order_status_1 = "1";
        public static final String order_status_2 = "2";
        public static final String order_status_3 = "3";
        public static final String order_status_4 = "4";
        public static final String order_status_5 = "5";
        public static final String order_status_6 = "6";
        public static final String order_status_7 = "7";





//服务类型  service_type
        public static final long service_type_1 = 1;
        public static final long service_type_2 = 2;
        public static final long service_type_3 = 3;
        public static final long service_type_4 = 4;
        public static final long service_type_5 = 5;
        public static final long service_type_6 = 6;
        public static final long service_type_7 = 7;
        public static final long service_type_8 = 8;
        public static final long service_type_9 = 9;



        // 费用类型  1 佣金 2：提现 3：提现失败
        public static final Integer fee_type_1 = 1;
        public static final Integer fee_type_2 = 2;
        public static final Integer fee_type_3 = 3;
        // 接单状态 0-暂停接单 1-正在接单
        public static final Integer receiving_order_1 = 1;
        public static final Integer receiving_order_0 = 0;

        //状态(0:禁用 1:启用)
        public static final Integer status_1 = 1;
        public static final Integer status_0 = 0;


    }


    /**
     * 商家转账订单状态
     * 说明：
     *
     * ACCEPTED: 转账已受理
     *
     * PROCESSING: 转账锁定资金中。如果一直停留在该状态，建议检查账户余额是否足够，如余额不足，可充值后再原单重试。
     *
     * WAIT_USER_CONFIRM: 待收款用户确认，可拉起微信收款确认页面进行收款确认
     *
     * TRANSFERING: 转账中，可拉起微信收款确认页面再次重试确认收款
     *
     * SUCCESS: 转账成功
     *
     * FAIL: 转账失败
     *
     * CANCELING: 商户撤销请求受理成功，该笔转账正在撤销中
     *
     * CANCELLED: 转账撤销完成
     */
    //转账已受理
    public static final String ACCEPTED = "ACCEPTED";
    //转账锁定资金中。如果一直停留在该状态，建议检查账户余额是否足够，如余额不足，可充值后再原单重试。
    public static final String PROCESSING = "PROCESSING";
    //待收款用户确认，可拉起微信收款确认页面进行收款确认
    public static final String WAIT_USER_CONFIRM = "WAIT_USER_CONFIRM";
    //转账中，可拉起微信收款确认页面再次重试确认收款
    public static final String TRANSFERING = "TRANSFERING";
    //转账成功
    public static final String SUCCESS = "SUCCESS";
    //转账失败
    public static final String CANCELING = "CANCELING";


    /**
     * xiaoxi 消息类型  订单消息
     */
    public static final String message_1 = "爱车帮提醒您：有一个订单待处理";
    public static final String message_2 = "爱车帮提醒您：您的提现失败，请重新提现。";
    public static final String message_4 = "爱车帮提醒您：您的提现成功。";
    public static final String message_3 = "爱车帮提醒您：您的退款成功。";
    public static final String message_5 = "爱车帮提醒您：您的商户审核通过。";
    public static final String message_6 = "爱车帮提醒您：您的商户审核不通过。审批备注是：";
    public static final String message_7 = "爱车帮提醒您：您的技师审核通过。";
    public static final String message_8 = "爱车帮提醒您：您的技师审核不通过。审批备注是：";


}

